import Http from '../net/UploadFile.js';
export default {

	/**
	 * 上传文件
	 * @param {string} name
	 * @param {Object} file
	 */
	uploadImage(name, file) {

		return Http('upload_image', file, name)
	},
	/**
	 * 上传视频
	 * @param {string} name
	 * @param {Object} file
	 */
	uploadVideo(name, file) {
		return Http('upload_image', file, name)
	},
}
